package com.younion.business;

import com.younion.common.exception.BaseException;
import com.younion.vo.UserVO;

/**
 * @Title: ILoginService.java
 * @Package com.younion.business
 * @author seagull
 * @date Sep 12, 2012 10:11:29 AM
 */

public interface ILoginService {

	/**
	 * 登陆
	 * 
	 * @param user
	 * @return
	 */
	public UserVO login(UserVO user) throws BaseException;

	/**
	 * 判断账号是否存在
	 * @param user
	 * @return
	 * @throws BaseException
	 */
	public boolean isEixsts(String userAccount) throws BaseException;
}
